The following table shows the connections to control the operation of the CSVDataLog ActiveX control at run time.
Connections |
Descriptions |
FileLocation Required |
This is the complete path and filename of the CSV file the control will use, for example, "C:\DataStorePlus\File.csv". This connection can be an explicit string or a string tag.
|
Trigger Required |
The control uses an event to enable record writing. This connection must be a tag. When the assigned tag transitions from a zero to non-zero value, the control will append data to a CSV file until the tag value changes to zero. A new CSV file will be created if:
|
Float01 - Float100 Optional |
These connections are the analog tags that make up the data in each row of the CSV file. Assign analog tags to these connections. It is recommended that the connections are specified as a contiguous list, for example, use connections 1-25 as opposed to connections 10-25 & 40-50. When using the control to read data from a CSV file, these connections should be configured to use memory tags. The application should use a macro to copy the memory tags to controller tags. |
String01 - String50 Optional |
These connections are the string tags that make up the data in each row of the CSV file. Each string can be up to 82 characters long. Assign string tags to these connections It is recommended that the connections are specified as a contiguous list, for example, use connections 1-25 as opposed to connections 10-25 & 40-50. When using the control to read data from a CSV file, these connections should be configured to use memory tags. The application should use a macro to copy the memory tags to controller tags. |
Handshake Optional |
This connection is used for coordinating the control's operations with the automation control system. Assign a Boolean controller tag to the connection. If this connection is set, when the Trigger value is set from a zero to non-zero value, the control object logs one line data. Then the Trigger and Handshake values are set to False, waiting for user's next trigger. |
Options on the General tab of the ME CSVDataLog Properties dialog box
Options on the Advanced tab of the ME CSVDataLog Properties dialog box